Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the go workspace to specify a version of go, and syncs the workspace.
When I used the existing workspace locally, go commands failed, because it could not install a toolchain for version "1.22". These (omitted patch) versions are development versions, which are removed once out of development.
The docs still imply that
work init
produces a file with an omitted patch version, but it seems to now init with a specific version (1.22.5), and this comment indicates it's required: golang/go#62278 (comment). Presumably I could manually install a version of 1.22, but using a specific version makes the tooling work nicely.